package com.hsc.ossservice;


import org.junit.Test;

import java.text.SimpleDateFormat;
import java.util.Date;

public class test1 {
    @Test
    public void test(){
        SimpleDateFormat format0 = new SimpleDateFormat("yy/MM/dd");
        String time = format0.format(new Date());
        System.out.println(time);
        StringBuilder s = new StringBuilder();
        s.append("/").append("fasd");
        String a ="fdas";
        String b =a + s;
        System.out.println(a + s);
        System.out.println(b);
        System.out.println(s);
    }
}
